package co.yixiang.huiMin.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 价格区间
 * </p>
 *
 * @author Author
 * @since 2020-07-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("price_range")
public class PriceRange implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "price_range_id", type = IdType.AUTO)
    private Integer priceRangeId;

    /**
     * 最小值
     */
    private BigDecimal priceRangeMin;

    /**
     * 最大值
     */
    private BigDecimal priceRangeMax;

    /**
     * 是否删除
     */
    private Integer isDel;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

}
